package com.syni.mdd.yhd.common.all.utils;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

public class AliPayUtil {

    public static String getOrderNo(){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS");
        return sdf.format(new Date());
    }

    public static String getRequestNo(){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS");
        return sdf.format(new Date()) + CDNUtils.getStringRandom(8);
    }
}
